<template>
  <br v-if="br" />
  <el-card shadow="hover">
    <slot />
  </el-card>
</template>

<script lang="ts" setup>
defineOptions({
  name: 'DemoPreview'
})

defineProps<{
  /**
   * 顶部换行
   */
  br: boolean
}>()
</script>
